﻿/****************************** Module Header ******************************\
 * Module Name:  tOrderLogistics.cs
 * Module Version:  1.0.0 (2013-01-25)
 * Copyright (c) AnyEB.Com (14507247@qq.com)
 * 
 * This source is subject to the GPL License.
 * See http://www.gnu.org/licenses/gpl.html.
 * All other rights reserved.
 * 
 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 
 * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
\***************************************************************************/

using System;

namespace UCL.Data.ORM.UMD
{
    /// <summary>
    /// 订单-物流管理-物流公司 数据实体类
    /// </summary>
    [DBTable(Common = "订单-物流管理-物流公司")]
    public class tOrderLogistics
    {
        /// <summary>
        /// Guid编号
        /// </summary>
        public Guid ID { get { return _ID ?? default(Guid); } set { _ID = value; } }

        [DBColumn(Alias = "Guid编号", IsKey = true, DefaultValue = "newid()")]
        private Guid? _ID;

        /// <summary>
        /// 公司名称
        /// </summary>
        public string Name { get { return _Name; } set { _Name = value; } }

        [DBColumn(Alias = "公司名称", Length = "32")]
        private string _Name;

        /// <summary>
        /// 公司全称
        /// </summary>
        public string FullName { get { return _FullName; } set { _FullName = value; } }

        [DBColumn(Alias = "公司全称", CanBeNull = true, Length = "32")]
        private string _FullName;

        /// <summary>
        /// 官网首页地址
        /// </summary>
        public string HomePage { get { return _HomePage; } set { _HomePage = value; } }

        [DBColumn(Alias = "官网首页地址", CanBeNull = true, Length = "255")]
        private string _HomePage;

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get { return _Contact; } set { _Contact = value; } }

        [DBColumn(Alias = "联系人", CanBeNull = true, Length = "32")]
        private string _Contact;

        /// <summary>
        /// 联系电话
        /// </summary>
        public string Telphone { get { return _Telphone; } set { _Telphone = value; } }

        [DBColumn(Alias = "联系电话", CanBeNull = true, Length = "32")]
        private string _Telphone;

        /// <summary>
        /// 公司地址
        /// </summary>
        public string Address { get { return _Address; } set { _Address = value; } }

        [DBColumn(Alias = "公司地址", CanBeNull = true, Length = "255")]
        private string _Address;

        /// <summary>
        /// 电子邮件
        /// </summary>
        public string Email { get { return _Email; } set { _Email = value; } }

        [DBColumn(Alias = "电子邮件", CanBeNull = true, Length = "32")]
        private string _Email;

        /// <summary>
        /// 备注说明(简介)
        /// </summary>
        public string Remark { get { return _Remark; } set { _Remark = value; } }

        [DBColumn(Alias = "备注说明", Common = "简介", CanBeNull = true, Length = "Max")]
        private string _Remark;

        /// <summary>
        /// 扩展标签
        /// </summary>
        public string ExTags { get { return _ExTags; } set { _ExTags = value; } }

        [DBColumn(Alias = "扩展标签", Length = "16")]
        private string _ExTags;

        /// <summary>
        /// 排列次序
        /// </summary>
        public short Ordinal { get { return _Ordinal ?? default(short); } set { _Ordinal = value; } }

        [DBColumn(Alias = "排列次序", DefaultValue = "999")]
        private short? _Ordinal;

        /// <summary>
        /// 状态
        /// </summary>
        public short State { get { return _State ?? default(short); } set { _State = value; } }

        [DBColumn(Alias = "状态", DefaultValue = "0")]
        private short? _State;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get { return _CreatedTime ?? default(DateTime); } set { _CreatedTime = value; } }

        [DBColumn(Alias = "创建时间", DefaultValue = "getdate()")]
        private DateTime? _CreatedTime;

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime ModifiedDate { get { return _ModifiedDate ?? default(DateTime); } set { _ModifiedDate = value; } }

        [DBColumn(Alias = "最后更新时间", CanBeNull = true)]
        private DateTime? _ModifiedDate;

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get { return _IsDeleted ?? default(bool); } set { _IsDeleted = value; } }

        [DBColumn(Alias = "是否删除", DefaultValue = "0")]
        private bool? _IsDeleted;

        /// <summary>
        /// 网站标签
        /// </summary>
        public string SiteTag { get { return _SiteTag; } set { _SiteTag = value; } }

        [DBColumn(Alias = "网站标签", CanBeNull = true, Length = "16")]
        private string _SiteTag;

    }
}
